package com.binance.notification.web.service;

import java.util.List;

import com.binance.notification.api.request.AddAbnormalConfigRequest;
import com.binance.notification.api.request.GetAbnormalConfigRequest;
import com.binance.notification.api.request.UpdateAbnormalConfigRequest;
import com.binance.notification.api.response.GetAbnormalConfigResponse;
import com.binance.notification.api.vo.PagingResult;

/**
 * 异动配置表接口
 * 
 * @author wangxiao
 *
 */
public interface IAbnormalThresholdConfigService {

    PagingResult<GetAbnormalConfigResponse> getAbnormalConfigList(GetAbnormalConfigRequest body) throws Exception;

    int addAbnormalConfig(AddAbnormalConfigRequest body) throws Exception;

    int updateAbnormalConfig(UpdateAbnormalConfigRequest body) throws Exception;

    int deleteAbnormalConfig(List<Long> id) throws Exception;

    // AbnormalThresholdConfigModel findBySymbolAndBusinessType(String symbol, String businessType)
    // throws Exception;
    //
    GetAbnormalConfigResponse findById(Long id) throws Exception;



}
